﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

namespace housingsafety.server.Entities.DataModels
{
    [Table("zm_pc_yh")]
    public partial class ZmPcYh : Repository.IEntity
    {
        [Key]
        [Column("id")]
        [StringLength(50)]
        public string Id { get; set; }

        [Column("fwbh")]
        [StringLength(50)]
        public string? Fwbh { get; set; }

        // 下面是第二个表的字段信息
        [Column("pczt")]
        public short? Pczt { get; set; }

        [Column("jcly")]
        public short? Jcly { get; set; }

        [Column("use_electric_bicycle")]
        public short? UseElectricBicycle { get; set; }

        [Column("use_bottled_liquefied_gas")]
        public short? UseBottledLiquefiedGas { get; set; }

        [Column("use_stacked_items")]
        public short? UseStackedItems { get; set; }

        [Column("mhqwbcwhyx")]
        public short? Mhqwbcwhyx { get; set; }

        [Column("jyplmhxtwbcwhyx")]
        public short ?Jyplmhxtwbcwhyx { get; set; }

        [Column("ygbjwfwhyx")]
        public short? Ygbjwfwhyx { get; set; }

        [Column("use_electric_bicycle_photo", TypeName = "json")]
        public string? UseElectricBicyclePhoto { get; set; }

        [Column("use_bottled_liquefied_gas_photo", TypeName = "json")]

        public string? UseBottledLiquefiedGasPhoto { get; set; }

        [Column("use_stacked_items_photo", TypeName = "json")]

        public string?UseStackedItemsPhoto { get; set; }

        [Column("mhqwbcwhyx_photo", TypeName = "json")]

        public string ?MhqwbcwhyxPhoto { get; set; }

        [Column("jyplmhxtwbcwhyx_photo", TypeName = "json")]

        public string? JyplmhxtwbcwhyxPhoto { get; set; }

        [Column("ygbjwfwhyx_photo", TypeName = "json")]

        public string? YgbjwfwhyxPhoto { get; set; }

        [Column("use_electric_bicycle_msg")]
        [StringLength(1000)]
        public string ?UseElectricBicycleMsg { get; set; }

        [Column("use_bottled_liquefied_gas_msg")]
        [StringLength(1000)]
        public string? UseBottledLiquefiedGasMsg { get; set; }

        [Column("use_stacked_items_msg")]
        [StringLength(1000)]
        public string? UseStackedItemsMsg { get; set; }

        [Column("mhqwbcwhyx_msg")]
        [StringLength(1000)]
        public string? MhqwbcwhyxMsg { get; set; }

        [Column("jyplmhxtwbcwhyx_msg")]
        [StringLength(1000)]
        public string? JyplmhxtwbcwhyxMsg { get; set; }

        [Column("ygbjwfwhyx_msg")]
        [StringLength(1000)]
        public string? YgbjwfwhyxMsg { get; set; }

        [Column("use_electric_bicycle_zgqk")]
        public short ?UseElectricBicycleZgqk { get; set; }

        [Column("use_bottled_liquefied_gas_zgqk")]
        public short? UseBottledLiquefiedGasZgqk { get; set; }

        [Column("use_stacked_items_zgqk")]
        public short? UseStackedItemsZgqk { get; set; }

        [Column("mhqwbcwhyx_zgqk")]
        public short? MhqwbcwhyxZgqk { get; set; }

        [Column("jyplmhxtwbcwhyx_zgqk")]
        public short ?JyplmhxtwbcwhyxZgqk { get; set; }

        [Column("ygbjwfwhyx_msg_zgqk")]
        public short? YgbjwfwhyxMsgZgqk { get; set; }

        [Column("use_electric_bicycle_zgphoto", TypeName = "json")]

        public string? UseElectricBicycleZgPhoto { get; set; }

        [Column("use_bottled_liquefied_gas_zgphoto", TypeName = "json")]

        public string? UseBottledLiquefiedGasZgPhoto { get; set; }

        [Column("use_stacked_items_zgphoto", TypeName = "json")]

        public string? UseStackedItemsZgPhoto { get; set; }

        [Column("mhqwbcwhyx_zgphoto", TypeName = "json")]

        public string? MhqwbcwhyxZgPhoto { get; set; }

        [Column("jyplmhxtwbcwhyx_zgphoto", TypeName = "json")]

        public string ?JyplmhxtwbcwhyxZgPhoto { get; set; }

        [Column("ygbjwfwhyx_msg_zgphoto", TypeName = "json")]

        public string ?YgbjwfwhyxMsgZgPhoto { get; set; }

        [Column("slljdx")]
        public short? Slljdx { get; set; }

        [Column("slljdx_photo", TypeName = "json")]

        public string? SlljdxPhoto { get; set; }

        [Column("slljdx_msg")]
        [StringLength(255)]
        public string? SlljdxMsg { get; set; }

        [Column("slljdx_zgqk")]
        public short? SlljdxZgqk { get; set; }

        [Column("slljdx_zgphoto", TypeName = "json")]

        public string? SlljdxZgPhoto { get; set; }

        [Column("zxqlddcsl")]
        public int ?Zxqlddcsl { get; set; }

        [Column("zxqlyhsyqsl")]
        public int? Zxqlyhsyqsl { get; set; }

        [Column("sign")]
        [StringLength(255)]
        public string ?Sign { get; set; }

        [Column("notes")]
        [StringLength(255)]
        public string ?Notes { get; set; }

        [Column("create_by")]
        [StringLength(50)]
        public string ? CreateBy { get; set; }

        [Column("create_on")]
        public DateTime CreateOn { get; set; }

        [Column("create_ip")]
        [StringLength(20)]
        public string ?CreateIp { get; set; }

        [Column("modified_by")]
        [StringLength(50)]
        public string? ModifiedBy { get; set; }

        [Column("modified_on")]
        public DateTime? ModifiedOn { get; set; }

        [Column("modified_ip")]
        [StringLength(20)]
        public string? ModifiedIp { get; set; }

        [Column("is_delete")]
        public short? IsDelete { get; set; }

        [Column("delete_by")]
        [StringLength(50)]
        public string? DeleteBy { get; set; }

        [Column("delete_on")]
        public DateTime? DeleteOn { get; set; }

        [Column("delete_ip")]
        [StringLength(20)]
        public string? DeleteIp { get; set; }

        [Column("pcsj")]
        [StringLength(255)]
        public DateTime ?Pcsj { get; set; }

        [Column("jczt")]
        [StringLength(255)]
        public string? Jczt { get; set; }



        [Column("base_id")]
        [StringLength(255)]
        public string? BaseId { get; set; }
    }
}
